package cn.lhx.blog.formbean;

import java.util.Date;

import org.apache.struts.action.ActionForm;



public class ArticleFormBean extends ActionForm{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String title;
	private int category;
	private String keyWords;//关键字
	private int origin;
	private Date postTime;
	private Date modTime;
	private String content;
	////////工具属性////
	private int page=1;
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
	public int getCategory() {
		return category;
	}
	public void setCategory(int category) {
		this.category = category;
	}
	
	public int getOrigin() {
		return origin;
	}
	public void setOrigin(int origin) {
		this.origin = origin;
	}
	public Date getPostTime() {
		return postTime;
	}
	public void setPostTime(Date postTime) {
		this.postTime = postTime;
	}
	public Date getModTime() {
		return modTime;
	}
	public void setModTime(Date modTime) {
		this.modTime = modTime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	
	public String getKeyWords() {
		return keyWords;
	}
	public void setKeyWords(String keyWords) {
		this.keyWords = keyWords;
	}
	
	
	
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public String toString(){
		return " Title: "+getTitle()+
		" ORG: "+getOrigin()+
		" Category: "+getCategory()+
		" KeyWords: "+getKeyWords()+
		" Content: "+getContent()+
		" \n...";
	}
}
